/*****    弹出层    ******/
.mask {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.4;
    z-index: 999;
    display: none;
}

.layer {
    width: 500px;
    height: 300px;
    background: #ccc;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -150px 0 0 -250px;
    z-index: 99999;
    display: none;
}

.layer span {
    display: block;
    width: 500px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #000;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -20px;
}

.layer a {
    display: block;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    background: #0096E3;
    position: absolute;
    bottom: 0;
}

.layer a.layer-left {
    left: 100px;
}

.layer a.layer-right {
    right: 100px;
}

/***   页面顶部 header    ***/
.header {
    height: 90px;
    width: 100%;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/index/header-bg.jpg', sizingMethod='scale');
    background: #0096e3 url(../../images/admin/header-bg.jpg) no-repeat center / cover;
    overflow: hidden;
}

.header img {
    width: 100%;
}

.header a.logo {
    float: left;
    width: 432px;
    height: 90px;
    background: url(../../images/admin/logo2.png) no-repeat center;
    margin-left: 45px;
}

.header span {
    float: right;
    height: 90px;
    overflow: hidden;
}

.header span a {
    float: left;
    height: 90px;
    line-height: 90px;
    color: #fff;
    font-size: 12px;
    margin-right: 45px;
}

.header span a:hover {
    text-decoration: underline;
    color: red;
}

.whole {
    min-width: 1000px;
    min-height: 450px;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
}

/***   页面左侧导航 nav      ***/
.nav {
    width: 192px;
    background: #f3fafe;
    border-right: 1px solid #dddee1;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    transition: all 1s;
}

.menu {
    display: block;
    overflow: auto;
    max-height: 200px;
    cursor: pointer;
}

.menu dt {
    height: 55px;
    overflow: hidden;
    padding: 0 18px 0 30px;
    border-bottom: 1px solid #f3fafe;
}

.menu dt.curr {
    background: #e3ecf1;
    border-bottom: 1px solid #2798e3;
}

.menu dt i {
    float: left;
    width: 30px;
    height: 30px;
    background: url(../../images/admin/nav-bg1.png) no-repeat left bottom;
    margin-top: 12px;
}

.menu dt i.curr {
    background-position: left top;
}

.menu1 dt i {
    background: url(../../images/admin/nav-bg2.png) no-repeat left bottom;
}

.menu2 dt i {
    background: url(../../images/admin/nav-bg3.png) no-repeat left bottom;
}

.menu3 dt i {
    background: url(../../images/admin/nav-bg4.png) no-repeat left bottom;
}

.menu dt b {
    float: left;
    height: 55px;
    line-height: 55px;
    color: #666;
    font-size: 16px;
    margin-left: 7px;
}

.menu dt dfn {
    float: right;
    width: 30px;
    height: 55px;
    background: url(../../images/admin/nav-bottom.png) no-repeat center;
}

.menu dt dfn.curr {
    background: url(../../images/admin/nav-top.png) no-repeat center;
}

.menu dd {
    overflow: hidden;
    display: none;
}

.menu dd a {
    display: block;
    height: 47px;
    line-height: 47px;
    text-align: center;
    color: #909394;
    font-size: 14px;
}

.menu dd a.curr {
    color: #299be4;
}

.nav span {
    display: block;
    width: 30px;
    height: 60px;
    background: #fff url(../../images/admin/bg1.png) no-repeat center / 100% auto;
    cursor: pointer;
    opacity: 0.2;
    filter: alpha(opacity=20);
    position: absolute;
    top: 50%;
    right: -30px;
    margin-top: -30px;
    z-index: 999;
}

.nav span:hover {
    opacity: 1;
    filter: alpha(opacity=100);
}

.nav span.curr {
    background: #fff url(../../images/admin/bg2.png) no-repeat center / 100% auto;
}

/*****    页面右侧   main     ******/
.main {
    background: #f6f7fb;
    position: absolute;
    top: 0;
    left: 193px;
    right: 0;
    bottom: 0;
    transition: all 1s;
    min-height: 360px;
    overflow-y: auto;
    z-index: 9;
}

/***  顶部  ****/
.main-top {
    height: 50px;
    overflow: hidden;
    background: #eef8fe;
    border-bottom: 1px solid #d1d2d6;
}

.main-top span {
    float: left;
    height: 50px;
    line-height: 50px;
    color: #333;
    font-size: 14px;
    overflow: hidden;
}

.main-top span i {
    float: left;
    width: 30px;
    height: 50px;
    margin: 0 14px;
    background: url(../../images/admin/home.png) no-repeat center;
}

.main-top span em {
    float: left;
}

.main-top span b {
    float: left;
}

.main-top span dfn {
    float: left;
    margin: 0 5px;
}

.main-top span strong {
    float: left;
}

.main-top ul {
    float: right;
    overflow: hidden;
    margin-right: 18px;
}

.main-top ul li {
    float: left;
    height: 50px;
    line-height: 50px;
    margin-left: 12px;
}

.main-top ul li a {
    display: block;
    width: 20px;
    height: 50px;
    background: url(../../images/admin/main.png) no-repeat center;
}
